package com.hailiang.saas.auth.remote.feign.manage;

import com.hailiang.mp.commonsource.api.CommonResult;
import com.hailiang.saas.auth.remote.feign.UcAccountServiceApiFeign;
import com.hailiang.saas.uc.api.vo.UcAccountVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : pangfuzhong
 * @description
 * @date : 2021/9/27 18:05
 */

@Service
public class UcAccountServiceApiManage {

    @Autowired
    private UcAccountServiceApiFeign ucAccountServiceApiFeign;

    public CommonResult<UcAccountVO> getAccountByName(String accountName) {
        return this.ucAccountServiceApiFeign.getAccountByName(accountName);
    }
}
